import 'package:flutter/material.dart';
import 'package:im_flutter_sdk_example/utils/global.dart';

class BackBtn extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return InkWell(
      onTap: () => {G.pop()},
      child: Container(
          alignment: Alignment.centerLeft,
          child: Icon(Icons.arrow_back_ios, color: Colors.black45),
          width: double.infinity,
          height: 80),
    );
  }
}
